[
    (
        Module {
            id: ModuleId {
                krate: Idx::<CrateData>(0),
                block: None,
                local_id: Idx::<ModuleData>(0),
            },
        },
        [
            FileSymbol {
                name: "Alias",
                def: TypeAlias(
                    TypeAlias {
                        id: TypeAliasId(
                            0,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: TYPE_ALIAS,
                        range: 470..490,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 475..480,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "CONST",
                def: Const(
                    Const {
                        id: ConstId(
                            0,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: CONST,
                        range: 413..434,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 419..424,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "CONST_WITH_INNER",
                def: Const(
                    Const {
                        id: ConstId(
                            2,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: CONST,
                        range: 593..665,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 599..615,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "Enum",
                def: Adt(
                    Enum(
                        Enum {
                            id: EnumId(
                                0,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: ENUM,
                        range: 185..207,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 190..194,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "ItemLikeMacro",
                def: Macro(
                    Macro {
                        id: Macro2Id(
                            Macro2Id(
                                0,
                            ),
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: USE_TREE,
                        range: 727..749,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 736..749,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "Macro",
                def: Macro(
                    Macro {
                        id: Macro2Id(
                            Macro2Id(
                                0,
                            ),
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: MACRO_DEF,
                        range: 153..168,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 159..164,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "STATIC",
                def: Static(
                    Static {
                        id: StaticId(
                            0,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STATIC,
                        range: 435..469,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 442..448,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "Struct",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                1,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STRUCT,
                        range: 170..184,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 177..183,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "StructFromMacro",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                0,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: MacroFile(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STRUCT,
                        range: 0..22,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 6..21,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "StructInFn",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                5,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STRUCT,
                        range: 391..409,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 398..408,
                        },
                    ),
                },
                container_name: Some(
                    "main",
                ),
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "StructInNamedConst",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                6,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STRUCT,
                        range: 628..654,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 635..653,
                        },
                    ),
                },
                container_name: Some(
                    "CONST_WITH_INNER",
                ),
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "StructInUnnamedConst",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                7,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STRUCT,
                        range: 552..580,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 559..579,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "StructT",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                2,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STRUCT,
                        range: 261..279,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 268..275,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "Trait",
                def: Trait(
                    Trait {
                        id: TraitId(
                            0,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: TRAIT,
                        range: 334..373,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 340..345,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "Trait",
                def: Macro(
                    Macro {
                        id: Macro2Id(
                            Macro2Id(
                                0,
                            ),
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: USE_TREE,
                        range: 755..769,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 764..769,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "Union",
                def: Adt(
                    Union(
                        Union {
                            id: UnionId(
                                0,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: UNION,
                        range: 208..222,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 214..219,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "a_mod",
                def: Module(
                    Module {
                        id: ModuleId {
                            krate: Idx::<CrateData>(0),
                            block: None,
                            local_id: Idx::<ModuleData>(1),
                        },
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: MODULE,
                        range: 492..530,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 496..501,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "b_mod",
                def: Module(
                    Module {
                        id: ModuleId {
                            krate: Idx::<CrateData>(0),
                            block: None,
                            local_id: Idx::<ModuleData>(2),
                        },
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: MODULE,
                        range: 667..677,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 671..676,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "define_struct",
                def: Macro(
                    Macro {
                        id: MacroRulesId(
                            MacroRulesId(
                                1,
                            ),
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: MACRO_RULES,
                        range: 51..131,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 64..77,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "generic_impl_fn",
                def: Function(
                    Function {
                        id: FunctionId(
                            3,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: FN,
                        range: 307..330,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 310..325,
                        },
                    ),
                },
                container_name: Some(
                    "StructT<T>",
                ),
                is_alias: false,
                is_assoc: true,
            },
            FileSymbol {
                name: "impl_fn",
                def: Function(
                    Function {
                        id: FunctionId(
                            2,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: FN,
                        range: 242..257,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 245..252,
                        },
                    ),
                },
                container_name: Some(
                    "Struct",
                ),
                is_alias: false,
                is_assoc: true,
            },
            FileSymbol {
                name: "macro_rules_macro",
                def: Macro(
                    Macro {
                        id: MacroRulesId(
                            MacroRulesId(
                                0,
                            ),
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: MACRO_RULES,
                        range: 1..48,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 14..31,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "main",
                def: Function(
                    Function {
                        id: FunctionId(
                            0,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: FN,
                        range: 375..411,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 378..382,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "really_define_struct",
                def: Macro(
                    Macro {
                        id: MacroRulesId(
                            MacroRulesId(
                                1,
                            ),
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: USE_TREE,
                        range: 684..721,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 701..721,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "trait_fn",
                def: Function(
                    Function {
                        id: FunctionId(
                            1,
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: FN,
                        range: 352..371,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 355..363,
                        },
                    ),
                },
                container_name: Some(
                    "Trait",
                ),
                is_alias: false,
                is_assoc: true,
            },
        ],
    ),
    (
        Module {
            id: ModuleId {
                krate: Idx::<CrateData>(0),
                block: None,
                local_id: Idx::<ModuleData>(1),
            },
        },
        [
            FileSymbol {
                name: "StructInModA",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                3,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        0,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STRUCT,
                        range: 508..528,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 515..527,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
        ],
    ),
    (
        Module {
            id: ModuleId {
                krate: Idx::<CrateData>(0),
                block: None,
                local_id: Idx::<ModuleData>(2),
            },
        },
        [
            FileSymbol {
                name: "IsThisJustATrait",
                def: Macro(
                    Macro {
                        id: Macro2Id(
                            Macro2Id(
                                0,
                            ),
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        1,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: USE_TREE,
                        range: 111..143,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 127..143,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "StructInModB",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                4,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        1,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: STRUCT,
                        range: 0..20,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 7..19,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "SuperItemLikeMacro",
                def: Macro(
                    Macro {
                        id: Macro2Id(
                            Macro2Id(
                                0,
                            ),
                        ),
                    },
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        1,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: USE_TREE,
                        range: 25..59,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 41..59,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "ThisStruct",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                4,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        1,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: USE_TREE,
                        range: 65..105,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 95..105,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
            FileSymbol {
                name: "ThisStruct",
                def: Adt(
                    Struct(
                        Struct {
                            id: StructId(
                                4,
                            ),
                        },
                    ),
                ),
                loc: DeclarationLocation {
                    hir_file_id: FileId(
                        1,
                    ),
                    ptr: SyntaxNodePtr {
                        kind: USE_TREE,
                        range: 65..105,
                    },
                    name_ptr: AstPtr(
                        SyntaxNodePtr {
                            kind: NAME,
                            range: 95..105,
                        },
                    ),
                },
                container_name: None,
                is_alias: false,
                is_assoc: false,
            },
        ],
    ),
]
